# -*- encoding: utf-8 -*-
"""
@File    :   criterions.py
@Contact :   haoyu_deng@std.uestc.edu.cn


@Modify Time      @Author          @Version    @Desciption
------------      -------------    --------    -----------
2022/11/20 19:26   risingentropy      1.0         None
"""

import utils.tensorbackend as bkdn




def L2Norm(a,b):
    return bkdn.get_backend(a).norm(a-b)
